Micron Document
<!DOCTYPE html>
<html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-0 vector-toc-not-available vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-0 vector-feature-night-mode-enabled skin-theme-clientpref-os vector-sticky-header-enabled" lang="fr" dir="ltr"><head>
<meta charset="UTF-8">
<title>KHTML</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="./_res_/favicon.png">
<link rel="canonical" href="https://fr.wikipedia.org/wiki/KHTML"> <link href="./_mw_/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.wikimediamessages.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./_mw_/site.styles.css">
<link rel="stylesheet" type="text/css" href="./_mw_/noscript.css">
<link rel="stylesheet" type="text/css" href="./_res_/footer.css">
<link rel="stylesheet" type="text/css" href="./_res_/vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-KHTML rootpage-KHTML skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">KHTML</span></h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="contentSub">
<div id="mw-content-subtitle"></div>
</div>
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="fr" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="fr" dir="ltr"><div class="infobox_v3 infobox infobox--frwiki noarchive" style="width:260px">
<div class="entete icon informatique" style="color: #000000;"><style data-mw-deduplicate="TemplateStyles:r228712691">
/* start https://fr.wikipedia.org/ */


.mw-parser-output .entete.informatique{background-image:url("./_mw_/Picto.nfo.png")}


/* end https://fr.wikipedia.org/ */
</style>
<div>KHTML</div>
</div>
<p class="mw-empty-elt">

</p>
<div class="images">
</div>
<div class="legend"><a href="Konqueror" title="Konqueror">Konqueror</a> utilisant KHTML affichant la page principale de Wikipedia.</div>
<table><caption style="color:#000000;">Informations</caption>



<tbody><tr>
<th scope="row"><a href="D%C3%A9veloppeur" title="Développeur">Développé par</a></th>
<td>
Communauté de <a href="KDE" title="KDE">KDE</a></td>
</tr>









<tr>
<th scope="row"><a href="D%C3%A9p%C3%B4t_(informatique)" title="Dépôt (informatique)">Dépôt</a></th>
<td>
<span class="wd_p1324"><a rel="nofollow" class="external text" href="https://invent.kde.org/frameworks/khtml">invent.kde.org/frameworks/khtml</a></span></td>
</tr>





<tr>
<th scope="row"> <a href="Langage_de_programmation" title="Langage de programmation">Écrit en</a>
</th>
<td>
<a href="C%2B%2B" title="C++">C++</a></td>
</tr>






<tr>
<th scope="row"><a href="Syst%C3%A8me_d'exploitation" title="Système d'exploitation">Système d'exploitation</a></th>
<td>
<span class="wd_p306">Multiplateforme <small>(<a href="https://www.wikidata.org/wiki/Q174666" class="extiw external" title="d:Q174666"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small></span></td>
</tr>

<tr>
<th scope="row"><a href="Plateforme_informatique" title="Plateforme informatique">Environnement</a></th>
<td>
<a href="X_Window_System" title="X Window System">X11</a>, <a href="Qt" title="Qt">Qt</a></td>
</tr>









<tr>
<th scope="row"> Type
</th>
<td>
<a href="Moteur_de_rendu_HTML" class="mw-redirect" title="Moteur de rendu HTML">Moteur de rendu HTML</a></td>
</tr>



<tr>
<th scope="row"><a href="Licence_de_logiciel" title="Licence de logiciel">Licence</a></th>
<td>
<a href="Licence_publique_g%C3%A9n%C3%A9rale_limit%C3%A9e_GNU" title="Licence publique générale limitée GNU">GNU LGPL</a></td>
</tr>



<tr>
<th scope="row"><a href="Site_web" title="Site web">Site web</a></th>
<td>
<a rel="nofollow" class="external free" href="http://techbase.kde.org/Development/Architecture/KDE3/KHTML">http://techbase.kde.org/Development/Architecture/KDE3/KHTML</a></td>
</tr>

</tbody></table>
<p class="mw-empty-elt">

</p>
</div>
<p><b>KHTML</b> (pour KDE HTML) est une <a href="Biblioth%C3%A8que_logicielle" title="Bibliothèque logicielle">bibliothèque logicielle</a> <a href="Logiciel_libre" title="Logiciel libre">libre</a> de <a href="Moteur_de_rendu_HTML" class="mw-redirect" title="Moteur de rendu HTML">rendu de HTML</a>, créée et utilisée par le projet <a href="KDE" title="KDE">KDE</a>. KHTML a servi de base pour les <a href="Fork_(d%C3%A9veloppement_logiciel)" title="Fork (développement logiciel)">forks</a> <a href="Webkit" class="mw-redirect" title="Webkit">Webkit</a>, par <a href="Apple" title="Apple">Apple</a>, puis indirectement <a href="Blink_(moteur_de_rendu)" title="Blink (moteur de rendu)">Blink</a>, par <a href="Google" title="Google">Google</a>.
</p>

<div class="mw-heading mw-heading2"><h2 id="Histoire">Histoire</h2></div>
<p>KHTML a été développé en même temps que la technologie à composants KPart qu'il utilise pour être intégré à <a href="Konqueror" title="Konqueror">Konqueror</a>, le gestionnaire de fichiers de KDE. Il est sorti en <a href="2000" title="2000">2000</a>, en même temps que la version 2 de KDE.
</p><p>En <a href="2002" title="2002">2002</a> <a href="Apple" title="Apple">Apple</a> choisit KHTML ainsi que KJS pour l'interpréteur <a href="JavaScript" title="JavaScript">JavaScript</a> comme base de son moteur de rendu HTML qu'utilisera son navigateur web <a href="Safari_(logiciel)" class="mw-redirect" title="Safari (logiciel)">Safari</a>. Ce nouveau moteur, placé sous licence <a href="GNU_Lesser_General_Public_License" class="mw-redirect" title="GNU Lesser General Public License">LGPL</a> et appelé <a href="WebKit" title="WebKit">WebKit</a> subit de nombreuses modifications visant notamment à réduire les dépendances aux bibliothèques KDE, à tel point que les échanges de code entre les deux moteurs devinrent très compliqués. Ces problèmes ont été réglés lorsque Apple a ouvert le développement de Webkit en utilisant un dépôt <a href="Subversion_(logiciel)" class="mw-redirect" title="Subversion (logiciel)">SVN</a> et un système de suivi des <a href="Bug_informatique" class="mw-redirect" title="Bug informatique">bug</a> utilisant <a href="Bugzilla" title="Bugzilla">Bugzilla</a><sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup>. C'est ainsi que certaines modification d'Apple ont pu être intégrées à KHTML, comme celles ayant permis au moteur de rendu de KDE de passer le test <a href="Acid2" title="Acid2">Acid2</a>.
</p><p>En juin-juillet <a href="2007" title="2007">2007</a>, <a href="Trolltech" class="mw-redirect" title="Trolltech">Trolltech</a> commence à adapter WebKit pour l'intégrer à sa bibliothèque <a href="Qt" title="Qt">Qt</a><sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup>, qui est la principale bibliothèque sur laquelle repose KDE. Cet ajout permettra ainsi à Qt de disposer d'un moteur HTML/JavaScript complet. Le Webkit est disponible dans Qt depuis la version 4.4.0<sup id="cite_ref-the-unforking-of-kdes-khtml-and-webkit_3-0" class="reference"><a href="#cite_note-the-unforking-of-kdes-khtml-and-webkit-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>.
</p><p>Cette intégration de WebKit a été annoncée par Trolltech aux développeurs de KDE durant l'aKademy 2007. Au vu de cela, plusieurs développeurs pensent qu
'il serait intéressant d'utiliser le WebKit de Qt en créant un KPart, pour remplacer KHTML<sup id="cite_ref-the-unforking-of-kdes-khtml-and-webkit_3-1" class="reference"><a href="#cite_note-the-unforking-of-kdes-khtml-and-webkit-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Caractéristiques"><span id="Caract.C3.A9ristiques"></span>Caractéristiques</h2></div>
<p>KHTML est écrit en <a href="C%2B%2B" title="C++">C++</a> et disponible sous licence <a href="LGPL" class="mw-redirect" title="LGPL">LGPL</a>. Il est rapide, mais est moins tolérant au niveau des erreurs dans le code HTML que le moteur <a href="Gecko_(moteur_de_rendu)" title="Gecko (moteur de rendu)">Gecko</a>, du projet libre <a href="Mozilla_(chronique)" class="mw-redirect" title="Mozilla (chronique)">Mozilla</a>.
</p><p>Il respecte plusieurs standards utilisés sur le Web<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup>&nbsp;:
</p>
<ul><li><a href="Hypertext_Markup_Language" title="Hypertext Markup Language">HTML</a> 4.01</li>
<li>l'<a href="Texte_bi-directionnel" class="mw-redirect" title="Texte bi-directionnel">écriture bi-directionnelle</a></li>
<li><a href="Feuilles_de_style_en_cascade" title="Feuilles de style en cascade">CSS</a> 1, 2.1 (partiellement pour les types de <i>media</i>) et 3 (les sélecteurs, ainsi quelques autres parties de la norme)<sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Document_Object_Model" title="Document Object Model">Document Object Model</a> (DOM) 1, 2 et 3 (partiellement pour ce dernier)</li>
<li><a href="ECMAScript" title="ECMAScript">ECMAScript</a> 262, implémenté dans la version 1.5 de <a href="JavaScript" title="JavaScript">JavaScript</a></li>
<li>Images au format <a href="Portable_Network_Graphics" title="Portable Network Graphics">PNG</a>, <a href="Multiple-image_Network_Graphics" title="Multiple-image Network Graphics">MNG</a>, <a href="JPEG" title="JPEG">JPEG</a>, <a href="Graphics_Interchange_Format" title="Graphics Interchange Format">GIF</a></li>
<li>Support partiel du format vectoriel <a href="Scalable_Vector_Graphics" title="Scalable Vector Graphics">SVG</a></li>
<li>le protocole <a href="Transport_Layer_Security" title="Transport Layer Security">SSL</a> via <a href="OpenSSL" title="OpenSSL">OpenSSL</a></li></ul>
<p>Il supporte également les <a href="Applet" title="Applet">applets</a> <a href="Java_(technologie)" class="mw-redirect" title="Java (technologie)">Java</a>
</p>
<div class="mw-heading mw-heading2"><h2 id="Navigateurs_utilisant_KHTML">Navigateurs utilisant KHTML</h2></div>
<p>Plusieurs navigateurs <a href="World_Wide_Web" title="World Wide Web">Web</a> utilisent KHTML. On peut citer notamment&nbsp;:
</p>
<ul><li>ABrowse, le navigateur d'<a href="AtheOS" title="AtheOS">AtheOS</a> et <a href="Syllable" title="Syllable">Syllable</a>. Pour ce dernier à partir de la version 0.6.4 le moteur <a href="WebKit" title="WebKit">WebKit</a> est utilisé à la place de KHTML</li>
<li><a href="Konqueror" title="Konqueror">Konqueror</a>, le navigateur du projet KDE</li>
<li>SkyKruzer, le navigateur de <a href="SkyOS" title="SkyOS">SkyOS</a></li>
<li><a href="Safari_(logiciel)" class="mw-redirect" title="Safari (logiciel)">Safari</a>, le navigateur livré avec <a href="Mac_OS_X" class="mw-redirect" title="Mac OS X">Mac OS X</a> utilisait autrefois KHTML, il utilise à présent le <a href="Fork_(d%C3%A9veloppement_logiciel)" title="Fork (développement logiciel)">fork</a> <a href="Webkit" class="mw-redirect" title="Webkit">Webkit</a>.</li>
<li><a href="Google_Chrome" title="Google Chrome">Chrome</a> et <a href="Chromium_(navigateur_web)" class="mw-redirect" title="Chromium (navigateur web)">Chromium</a> utilisent le fork <a href="Webkit" class="mw-redirect" title="Webkit">Webkit</a> de KHTML, avant de passer à <a href="Blink_(moteur_de_rendu)" title="Blink (moteur de rendu)">Blink</a> (lui-même étant un fork de Webkit).</li>
<li><a href="Opera" title="Opera">Opera</a> suit le chemin de Chrome, il utilisait Webkit et est à son tour passé à Blink à partir de la version 15<sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup>.</li></ul>
<div class="mw-heading mw-heading2"><h2 id="Voir_aussi">Voir aussi</h2></div>
<ul><li><a href="Moteur_de_rendu_HTML" class="mw-redirect" title="Moteur de rendu HTML">Moteur de rendu HTML</a></li></ul>
<div class="mw-heading mw-heading3"><h3 id="Liens_externes">Liens externes</h3></div>
<ul><li><a rel="nofollow" class="external text" href="http://www.konqueror.org/features/browser.php">Web Browser</a> fonctionnalités de KHTML sur konqueror.org</li>
<li><a rel="nofollow" class="external text" href="http://techbase.kde.org/Development/Architecture/KDE3/KHTML">KHTML</a>, documentation de l'architecture de la bibliothèque sur kde.org</li></ul>
<div class="mw-heading mw-heading2"><h2 id="Références"><span id="R.C3.A9f.C3.A9rences"></span>Références</h2></div>
<div class="references-small decimal" style=""><div class="mw-references-wrap"><ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="http://webkit.org/"><i>The WebKit Open Source Project</i></a></span>
</li>
<li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a> </span><span class="reference-text"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="http://labs.trolltech.com/page/Projects/Internet/WebKit"><i>Trolltech Labs - WebKit</i></a></span>
</li>
<li id="cite_note-the-unforking-of-kdes-khtml-and-webkit-3"><span class="reference-text"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="https://arstechnica.com/journals/linux.ars/2007/07/23/the-unforking-of-kdes-khtml-and-webkit"><i>The unforking of KDE's KHTML and WebKit</i></a></span>
</li>
<li id="cite_note-4"><span class="mw-cite-backlink"><a href="#cite_ref-4">↑</a> </span><span class="reference-text"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="http://konqueror.kde.org/features/browser.php"><i>Konqueror - Web Browser</i></a></span>
</li>
<li id="cite_note-5"><span class="mw-cite-backlink"><a href="#cite_ref-5">↑</a> </span><span class="reference-text"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="http://konqueror.kde.org/css/"><i>Konqueror - CSS 2.1 &amp; 3 Support in KHTML 3.4</i></a></span>
</li>
<li id="cite_note-6"><span class="mw-cite-backlink"><a href="#cite_ref-6">↑</a> </span><span class="reference-text"><span class="ouvrage" id="2013">«&nbsp;<a rel="nofollow" class="external text" href="http://www.zdnet.fr/actualites/firefox-google-opera-et-samsung-cherchent-des-alternatives-a-webkit-39789000.htm"><cite style="font-style:normal;">Firefox, Google, Opera et Samsung cherchent des alternatives à WebKit</cite></a>&nbsp;», sur <span class="italique">zdnet.fr</span>, <time class="nowrap" datetime="2013-04-04" data-sort-value="2013-04-04">4 avril 2013</time></span></span>
</li>
</ol></div>
</div>
<div class="navbox-container" style="clear:both;">


</div>
<ul id="bandeau-portail" class="bandeau-portail"><li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail des logiciels libres</span> </span></li> </ul></div><!--htdig_noindex--><div><div class="zim-footer">
Cet article est issu de <a class="external text" title="Dernière modification le 2024-06-21" href="https://fr.wikipedia.org/wiki/?title=KHTML&amp;oldid=216116613">Wikipédia</a>. Sauf mention contraire, le texte est disponible sous <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr">Creative Commons Attribution-Share Alike 4.0</a>. Des conditions supplémentaires peuvent s’appliquer aux fichiers multimédias.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
<script src="./_webp_/webpHandler.js"></script>

</body></html>